import React from 'react';
import { View } from 'react-native';

export default ({ width = 1, color = '#ddd', style }) => <View style={[style, { backgroundColor: color, height: width }]} />